<?php
/**
 * Describes the Content Fetch structure
 * @author David del Pino
 * @version 1.0 2012-03-07
 */
class Fetch{
	
	private $id;
	private $location;
	private $scheduledDate;
	private $lastChange;
	private $status;
	private $ttl;
	private $content;
	private $title;
	private $keywords;
	private $paragraphs; 
	private $description;
	private $linkTitle;
	private $linkText;
	
	public function __construct(	$id = NULL, 
													$location = NULL, 
													$scheduledDate = NULL, 
													$lastChange = NULL, 
													$status = NULL, 
													$ttl = NULL, 
													$content = NULL, 
													$title = NULL, 
													$keywords = NULL, 
													$paragraphs = NULL, 
													$description = NULL, 
													$linkTitle = NULL, 
													$linkText = NULL){
		$this->id = $id;
		$this->location = $location;
		$this->scheduledDate = $scheduledDate;
		$this->lastChange = $lastChange;
		$this->status = $status;
		$this->ttl = $ttl;
		$this->content = $content;
		$this->title = $title;
		$this->keywords = $keywords;
		$this->paragraphs = $paragraphs;
		$this->description = $description;			
		$this->linkTitle = $linkTitle;
		$this->linkText = $linkText;	
	}
	
	public function getId(){
		return $this->id;
	}
	
	public function getLocation() {
		return $this->location;
	}

	public function getScheduledDate() {
		return $this->scheduledDate;
	}

	public function getLastChange() {
		return $this->lastChange;
	}

	public function getStatus() {
		return $this->status;
	}

	public function getTtl() {
		return $this->ttl;
	}

	public function getContent() {
		return $this->content;
	}

	public function getTitle() {
		return $this->title;
	}

	public function getKeywords() {
		return $this->keywords;
	}

	public function getParagraphs() {
		return $this->paragraphs;
	}

	public function getDescription() {
		return $this->description;
	}
	
	public function getLinkTitle(){
		return $this->linkTitle;
	}
	
	public function getLinkText(){
		return $this->linkText;
	}
	
	public function setId($id){
		$this->id = $id;
	}

	public function setLocation($location) {
		$this->location = $location;
	}

	public function setScheduledDate($scheduledDate) {
		$this->scheduledDate = $scheduledDate;
	}

	public function setLastChange($lastChange) {
		$this->lastChange = $lastChange;
	}

	public function setStatus($status) {
		$this->status = $status;
	}

	public function setTtl($ttl) {
		$this->ttl = $ttl;
	}

	public function setContent($content) {
		$this->content = $content;
	}

	public function setTitle($title) {
		$this->title = $title;
	}

	public function setKeywords($keywords) {
		$this->keywords = $keywords;
	}

	public function setParagraphs($paragraphs) {
		$this->paragraphs = $paragraphs;
	}

	public function setDescription($description) {
		$this->description = $description;
	}
	
	public function setLinkTitle($linkTitle){
		$this->linkTitle = $linkTitle;		
	}
	
	public function setLinkText($linkText){
		$this->linkText = $linkText;
	}
}